app.controller("examOpenCtrl",function($scope,$state){
    $scope.dialogStyle = "none";
    $scope.examName=exam_subject.examName;
    $scope.endTime=exam_subject.examEndTime;
    $scope.examIssueNum = exam_subject.examIssueNum;
    //显示对话
    $scope.openDialog = function () {
        $('#dialog1').show();
    }
    //取消对话
    $scope.cancleDialog = function () {
        $('#dialog1').hide();
    }

    //考试
    $scope.openExamSubject = function () {
        $state.go("home.examSubject");
    }

});